package cn.qidisoft.edu.hzjt.model.zyc;

import java.io.InputStream;
import java.io.Serializable;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * HZJT_KTGL_ResearchProjectAtt——附件表
 * @author zhangwenliang
 * @Date 2018.11.28
 *
 */
public class ResearchProjectAtt implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer fileId;
	
	/*
	 * 所属父对象ID
	 */
	private Integer parentId;
	
	/*
	 * 附件的原始文件名
	 */
	private String fileName;
	
	/*
	 * 存储的相对物理路径
	 */
	private String filePath;
	
	/*
	 * 附件大小
	 */
	private String fileSize;
	
	/*
	 * 扩展名
	 */
	private String extension;
	
	/*
	 * 文件类型
	 */
	private String contentType;
	
	/*
	 * 文件的排列次序
	 */
	private Integer orders;
	
	
	   //其他保存时使用，辅助字段
    //uuid
    private String gid;
    //文件
    private MultipartFile mufile;
    //文件流
    private InputStream inputStream;
    //文件系统名称
    private String sysfilepath;

    private List<ResearchProjectAtt> list;
    

	public String getGid() {
		return gid;
	}

	public void setGid(String gid) {
		this.gid = gid;
	}

	public MultipartFile getMufile() {
		return mufile;
	}

	public void setMufile(MultipartFile mufile) {
		this.mufile = mufile;
	}

	public InputStream getInputStream() {
		return inputStream;
	}

	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}

	public String getSysfilepath() {
		return sysfilepath;
	}

	public void setSysfilepath(String sysfilepath) {
		this.sysfilepath = sysfilepath;
	}

	public List<ResearchProjectAtt> getList() {
		return list;
	}

	public void setList(List<ResearchProjectAtt> list) {
		this.list = list;
	}

	public Integer getFileId() {
		return fileId;
	}

	public void setFileId(Integer fileId) {
		this.fileId = fileId;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getExtension() {
		return extension;
	}

	public void setExtension(String extension) {
		this.extension = extension;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}
	
	

}
